課程名稱 |
計算機程式 COMPUTER PROGRAMMING |
開課學期 |
97-1 |
授課對象 |
工學院 化學工程學系 |
授課教師 |
諶玉真 |
課號 |
ChemE1004 |
課程識別碼 |
504 10300 |
班次 |
|
學分 |
3 |
全/半年 |
半年 |
必/選修 |
選修 |
上課時間 |
星期三5(12:20~13:10)星期四5,6(12:20~14:10) |
上課地點 |
|
備註 |
化工系以外需經老師同意。含實習。週二5在化工二。週四56在工綜323。 總人數上限:45人 |
Ceiba 課程網頁 |
http://ceiba.ntu.edu.tw/971com_programming |
課程簡介影片 |
|
核心能力關聯 |
核心能力與課程規劃關聯圖 |
課程大綱
|
為確保您我的權利,請尊重智慧財產權及不得非法影印
|
課程概述 |
學習Fortran程式語言的邏輯概念及語法 |
課程目標 |
熟悉Fortran程式語言的邏輯概念及語法。
能撰寫程式,解決工程及科學問題。
|
課程要求 |
Introduction to Computers and the Fortran Language
1.The Computer
2.Data Representation in a Computer
3.Computer Languages
Basic Elements of Fortran
1.The Fortran Character Set
2.The Structure of a Fortran Program
3.Constants and Variables
4.Assignment Statements and Arithmetic Calculations
5.Intrinsic Functions
6.List-Directed Input and Output Statements
Selective Execution
1.Simple IF Construct
2.General Form of the IF Construct
3.Multiple Alternative
4.Nested IF Constructs
5.Named Construct
6.The CASE Construct
Repetitive Execution
1.Counter-Controlled DO Loops
2.Nested DO Loops
3.General DO Loops : DO-EXIT Construct
4.General DO-WHILE Loops
5.The CYCLE statements
6.Named DO Construct
Input/Output
1.Formatted Output
2.Formatted Input
3.Reading Data From a File
4.Opening Files
5.Closing Files
6.File-Positioning Statements
Programming with Functions
1.Functions
2.Introduction to Modules
3.External Functions
Programming with Subroutines
1.Subroutine Subprograms
2.Random Number Generators
3.Subroutine as Arguments
One-Dimensional Array
1.Compile-Time Arrays and Run-Time Arrays
2.Allocatable Arrays
3.Array Processing
4.The WHERE Construct
5.Arrays as Arguments
Multi-Dimensional Array
1.Input/Output of Multidimensional Arrays
2.Processing Multidimensional Arrays
教學方法
上課所在地點為工學院之設備良好的電腦教室
上課以ppt配合投影機教學為主輔以白板說明
艱澀、抽象內容除講授課程外,也安排習作
時間進行,促使學生實際動手撰寫程式,並
加強老師與同學間之互動
|
預期每週課後學習時數 |
|
Office Hours |
|
指定閱讀 |
|
參考書目 |
1. “Fortran 90 for Engineers and Scientists”, Larry R. Nyhoff and Sanford C.
Leestma, Prentice Hall, 1997
2. “Fortran 90 Programming”, T. M. Ellis; Ivor R. Philips and Thomas M. Lahey,
Addison-Wesley Publishers Ltd., 1994. |
評量方式 (僅供參考) |
No. |
項目 |
百分比 |
說明 |
1. |
期中考 |
30% |
|
2. |
期末考 |
30% |
|
3. |
電腦作業 |
40% |
|
|
週次 |
日期 |
單元主題 |
第1週 |
9/17,9/18 |
Introduction to Computers and the Fortran Language |
第2週 |
9/24,9/25 |
Basic Elements of Fortran |
第3週 |
10/01,10/02 |
Basic Elements of Fortran |
第4週 |
10/08,10/09 |
Selective Execution |
第5週 |
10/15,10/16 |
Selective Execution |
第6週 |
10/22,10/23 |
Repetitive Execution |
第7週 |
10/29,10/30 |
Input/Output |
第8週 |
11/05,11/06 |
One-Dimensional Array |
第11週 |
11/26,11/27 |
Multi-Dimensional Array |
|